
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet"
	type="text/css" />
<link href="lib/webuploader/0.1.5/webuploader.css" rel="stylesheet"
	type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>新增T_dianping</title>
</head>
<body>
	<div class="pd-20">
		<form action="<%=path%>/backstage/t_dianping-add" method="post"
			class="form form-horizontal" id="form-t_dianping-add">
			<div class="row cl">
				<label class="form-label col-2">编号：</label>
				<div class="formControls col-10">
					${t_dianping.c_id}
					<%-- <input type="text" class="input-text" value="${t_dianping.c_id}"
						placeholder="" id="" name="c_id" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">商铺编号：</label>
				<div class="formControls col-10">
					${t_dianping.c_sid}
					<%-- <input type="text" class="input-text" value="${t_dianping.c_sid}"
						placeholder="" id="" name="c_sid" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<%-- <div class="row cl">
				<label class="form-label col-2">优惠劵编号：</label>
				<div class="formControls col-2">
					<input type="text" class="input-text" value="${t_dianping.c_jid}"
						placeholder="" id="" name="c_jid" datatype="*" nullmsg="不能为空">
				</div>
			</div> --%>
			<div class="row cl">
				<label class="form-label col-2">评价星级：</label>
				<div class="formControls col-10">
					${t_dianping.c_dtype}
					<%-- <input type="text" class="input-text" value="${t_dianping.c_dtype}"
						placeholder="" id="" name="c_dtype" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">推荐参考：</label>
				<div class="formControls col-10">
					${t_dianping.c_fee}
					<%-- <input type="text" class="input-text" value="${t_dianping.c_fee}"
						placeholder="" id="" name="c_fee" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">点评内容：</label>
				<div class="formControls col-10">
					${t_dianping.c_text}
					<%-- <input type="text" class="input-text" value="${t_dianping.c_text}"
						placeholder="" id="" name="c_text" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">点评用户：</label>
				<div class="formControls col-10">
					${t_dianping.username}
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_userid}" placeholder="" id=""
						name="c_userid" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<%-- <div class="row cl">
				<label class="form-label col-2">添加主机IP：</label>
				<div class="formControls col-2">
					<input type="text" class="input-text" value="${t_dianping.c_ip}"
						placeholder="" id="" name="c_ip" datatype="*" nullmsg="不能为空">
				</div>
			</div> --%>
			<div class="row cl">
				<label class="form-label col-2">添加时间：</label>
				<div class="formControls col-10">
					<fmt:formatDate value='${t_dianping.c_appdate}'
						pattern='yyyy-MM-dd HH:mm:ss' />
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_appdate}" placeholder="" id=""
						name="c_appdate" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">商家回复内容：</label>
				<div class="formControls col-10">
					${t_dianping.c_retext}
					<%-- 	<input type="text" class="input-text"
						value="${t_dianping.c_retext}" placeholder="" id=""
						name="c_retext" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">商家回复时间：</label>
				<div class="formControls col-10">
					<fmt:formatDate value='${t_dianping.c_redate}'
						pattern='yyyy-MM-dd HH:mm:ss' />
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_redate}" placeholder="" id=""
						name="c_redate" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">属性：</label>
				<div class="formControls col-10">
					${t_dianping.c_enable}
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_enable}" placeholder="" id=""
						name="c_enable" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">是否会员：</label>
				<div class="formControls col-10">
					<c:if test="${t_dianping.c_adm==0}">否</c:if>
					<c:if test="${t_dianping.c_adm==1}">是</c:if>
					<%-- <input type="text" class="input-text" value="${t_dianping.c_adm}"
						placeholder="" id="" name="c_adm" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<%-- <div class="row cl">
				<label class="form-label col-2">审核人：</label>
				<div class="formControls col-10">
					${t_dianping.c_check}
					<input type="text" class="input-text" value="${t_dianping.c_check}"
						placeholder="" id="" name="c_check" datatype="*" nullmsg="不能为空">
				</div>
			</div> --%>
			<div class="row cl">
				<label class="form-label col-2">是否匿名：</label>
				<div class="formControls col-10">
					<c:if test="${t_dianping.c_guest==0}">否</c:if>
					<c:if test="${t_dianping.c_guest==1}">是</c:if>
					<%-- <input type="text" class="input-text" value="${t_dianping.c_guest}"
						placeholder="" id="" name="c_guest" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">商品编号：</label>
				<div class="formControls col-10">
					${t_dianping.c_goodsid}
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_goodsid}" placeholder="" id=""
						name="c_goodsid" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">订单编号：</label>
				<div class="formControls col-10">
					${t_dianping.c_orderid}
					<%-- <input type="text" class="input-text"
						value="${t_dianping.c_orderid}" placeholder="" id=""
						name="c_orderid" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-2">是否点赞：</label>
				<div class="formControls col-10">
					<c:if test="${t_dianping.is_raise==0}">否</c:if>
					<c:if test="${t_dianping.is_raise==1}">是</c:if>
					<%-- <input type="text" class="input-text"
						value="${t_dianping.is_raise}" placeholder="" id=""
						name="is_raise" datatype="*" nullmsg="不能为空"> --%>
				</div>
			</div>

			<!-- <div class="row cl">
				<div class="col-10 col-offset-2">
					<button onClick="t_dianping_save_submit();"
						class="btn btn-primary radius" type="submit">
						<i class="Hui-iconfont">&#xe632;</i> 保存并提交
					</button>
					<button onClick="layer_close();" class="btn btn-default radius"
						type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
				</div>
			</div> -->
		</form>
	</div>
	</div>
	<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="lib/layer/2.1/layer.js"></script>
	<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="lib/icheck/jquery.icheck.min.js"></script>
	<script type="text/javascript"
		src="lib/Validform/5.3.2/Validform.min.js"></script>
	<script type="text/javascript"
		src="lib/webuploader/0.1.5/webuploader.min.js"></script>
	<script type="text/javascript"
		src="lib/ueditor/1.4.3/ueditor.config.js"></script>
	<script type="text/javascript"
		src="lib/ueditor/1.4.3/ueditor.all.min.js">
		
	</script>
	<script type="text/javascript"
		src="lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
	<script type="text/javascript" src="js/H-ui.js"></script>
	<script type="text/javascript" src="js/H-ui.admin.js"></script>
	<script type="text/javascript">
		function t_dianping_save_submit() {
			$("#form-t_dianping-add").Validform({
				tiptype : 2,
				ajaxPost : true,
				callback : function(form) {
					var index = parent.layer.getFrameIndex(window.name);
					parent.$('.btn-refresh').click();
					parent.layer.close(index);
				}
			});
		}
	</script>
</body>
</html>

